package com.itheima.homework.test3;

/**
 * @author jiangxun
 * @date 11-19-2024
 */
public class Dog extends Animal{
    public Dog(String name, int age) {
        super(name, age);
    }
    @Override
    public void eat() {
        System.out.println("狗吃骨头");
    }

    public void lookHome(){
        System.out.println("狗看家");
    }
}
